<template>
  <div>
    <h3>{{ avatar }}</h3>
    <!-- <UploadImg :value="avatar" @input="avatar=$event" /> -->
    <UploadImg v-model="avatar" />
  </div>
</template>
<script>
import UploadImg from '@/components/uploadImg'
export default {
  components: {
    UploadImg
  },
  data() {
    return {
      avatar: ''
    }
  }
}
</script>
<style>
</style>
